diff options
| author | Michael Williamson <mike@zwobble.org> | 2023-07-23 22:03:21 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2023-07-23 22:03:21 +0100 |
| commit | 4faec7c2c180569a06a5023fc1bcb77812705672 (patch) | |
| tree | 289c57965d0f5b0726d43ecb4bbf42a11deae08e /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenIntNotEqualTests]/[method:canGenerateCodeForIntNotEqual(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected | |
| parent | 2fe51eb35031a9dd0c0b740fd893b9704614464e (diff) | |
Support int-ne in Patio code gen
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenIntNotEqualTests]/[method:canGenerateCodeForIntNotEqual(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
1 files changed, 19 insertions, 0 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenIntNotEqualTests]/[method:canGenerateCodeForIntNotEqual(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenIntNotEqualTests]/[method:canGenerateCodeForIntNotEqual(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected new file mode 100644 index 00000000..45699e36 --- /dev/null +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenIntNotEqualTests]/[method:canGenerateCodeForIntNotEqual(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -0,0 +1,19 @@ +Compilation unit elements: + + +Locals: + * ("tmp__0" int) + * ("tmp__1" int) + +Args: + +Instructions: + +( + (int-ne (local "tmp__1") (local "b") (local "c")) + (bool-to-int (local "tmp__0") (local "tmp__1")) +) + +Temporary stack: + * tmp__0 + * a |
